﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Management/Management.master"
    CodeFile="ChinaBank.aspx.cs" Inherits="ChinaBank" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table>
        <tr>
            <td>
                <div class="Dialog">
                    <div class="Title">
                        现有接口</div>
                    <div class="Content">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EmptyDataText="目前没有设置在线支付接口"
                            GridLines="None">
                            <Columns>
                                <asp:BoundField DataField="BankName" HeaderText="接口名称" ReadOnly="True" SortExpression="BankName" />
                                <asp:BoundField DataField="BankSH" HeaderText="商户号" ReadOnly="True" SortExpression="BankSH" />
                                <asp:BoundField DataField="BankMS" HeaderText="密匙" ReadOnly="True" SortExpression="BankMS" />
                                <asp:CheckBoxField DataField="Passed" HeaderText="启用" ReadOnly="True" SortExpression="Passed" />
                                <asp:TemplateField HeaderText="操作">
                                    <ItemTemplate>
                                        <asp:Button ID="btn_Update" runat="server" CommandArgument='<%# Eval("ID") %>' OnClick="btn_Update_Click"
                                            Text="编辑" CausesValidation="False" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
                <div style="height: 3px;">
                </div>
                <div class="Dialog">
                    <div class="Title">
                        在线支付接口设置</div>
                    <div class="Content">
                        <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                            <tr class='tdbg'>
                                <td class="tdbg2" align="right" style="width: 26%">
                                    接口名称：
                                </td>
                                <td>
                                    <asp:TextBox ID="txt_InterfaceName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_InterfaceName"
                                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td align="right" class="tdbg2" style="width: 26%">
                                    商户号：
                                </td>
                                <td>
                                    <asp:TextBox ID="txt_BankSH" runat="server" Width="380px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_BankSH"
                                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr class='tdbg'>
                                <td class="tdbg2" align="right" style="width: 26%">
                                    密钥：
                                </td>
                                <td>
                                    <asp:TextBox ID="txt_BankMS" runat="server" Width="379px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_BankMS"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr class='tdbg'>
                                <td class="tdbg2" align="right" style="width: 26%">
                                    启用：
                                </td>
                                <td>
                                    <asp:CheckBox ID="Open" runat="server" Text="是" />
                                </td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="height: 22px">
                                    <div align="center">
                                        <asp:Button ID="btn_Submit" runat="server" Text="确 认" OnClick="btn_Submit_Click" />
                                        <input id="Reset1" type="reset" value="重 置" /></div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
